# from datetime import datetime, timedelta, timezone
#
#
# timestamp = int(datetime.now().timestamp())
# minutes = 60
#
# print(timestamp)
# print(timestamp - minutes)
#
#
#
# # 上例演示了计算当前时间向后10小时的时间。
# d1 = datetime.now()
# d3 = d1 + timedelta(minutes=1)
#
#
# print(d3)
# print(d3.ctime())
#
# print(datetime.utcnow())
#
#
#
# utc_dt = datetime.utcnow().replace(tzinfo=timezone.utc)
# print(utc_dt)
# cn_dt = utc_dt.astimezone(timezone(timedelta(hours=8)))
# print(cn_dt)
# jan_dt = utc_dt.astimezone(timezone(timedelta(hours=9)))
# print(jan_dt)
# cn_2_jan_dt = cn_dt.astimezone(timezone(timedelta(hours=9)))
# print(cn_2_jan_dt)